package com.one.service;

import com.one.bean.Management;
import com.one.bean.Product;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.List;

/**
  * @author : zzh
  * @date : 2022/1/16
  * @return :
  * @description : 商品抢购活动接口
 */

public interface RushToPurchaseService {

    //查询抢购商品
    List<Product> selectBuyGoods();

    //添加抢购活动
    Integer addManagement(Management management);

    //查询抢购活动
    List<Management> selectAllManagement();

}
